#include "SysLoginForm.h"
#include "SysMainForm.h"

#include <QApplication>
#include <QStyleFactory>
#include <QDir>
#include <QDebug>
#include <QTranslator>
int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
#ifdef WIN32

#else
    QApplication::setStyle(QStyleFactory::create("Fusion"));
#endif
//    MainForm *w=new MainForm ();
    QString strLibPath(QDir::toNativeSeparators(QApplication::applicationDirPath())+QDir::separator()+"plugins");
    a.addLibraryPath(strLibPath);
//    a.installTranslator(translator);
    SysLoginForm *w=new SysLoginForm ();
//    SysAssist::Center(w);

    w->show();
//    qDebug()<<"当前目录"+strLibPath;
    return a.exec();
}
